//
//  Data.h
//  dingding
//
//  Created by chensentao on 15/12/2.
//  Copyright © 2015年 dingding. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ViewUtils: NSObject

+(void)showToast:(NSString*)content;
+(void)labelSetSpecailTxt:(UILabel*)label str:(NSString*)all start:(NSString*)txt1 end:(NSString*)txt2 color:(UIColor*)color;
+(void)labelSetUnderline:(UILabel*)label str:(NSString*)all start:(NSString*)txt1 end:(NSString*)txt2;
+(void)labelSetUnderline1:(UILabel*)label str:(NSString*)all start:(NSString*)txt1 end:(NSString*)txt2 color:(UIColor*)color;
+(void)show1Alert:(NSString*)title content:(NSString*)content ok:(NSString*)ok action:(void (^)(void))func;
+(void)show1Alert:(NSString*)title content:(NSString*)content ok:(NSString*)ok;
+(void)show2Alert:(NSString*)title content:(NSString*)content ok:(NSString*)ok action:(void (^)(void))func;
+(void)show2Alert:(NSString*)title content:(NSString*)content ok:(NSString*)ok cancel:(NSString*)cancel action:(void (^)(void))func;
+(UIView *)findFirstResponder:(UIView*)root;

+(void)showOneBtnImageName:(NSString *)oneImageName OneBtnTitle:(NSString *)oneTitle TwoBtnImageName:(NSString *)twoImageName TwoBtnTitle:(NSString *)twoTitle action:(void (^)(NSInteger index))func;
@end
